<%@ taglib prefix="C" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../css/show.css">
    <link rel="stylesheet" href="../css/home.css">
    <script src="../js/jquery.js"></script>
</head>
<body>
<jsp:include page="top.jsp"></jsp:include>
<div class="show">
    <div class="show-nav">
        <div class="float-left">产品展示</div>
        <div>
            <ul>
                <c:forEach items="${nameList}" var="title">
                    <a href="${title.navHref}">
                        <li>${title.navTitle}</li>
                    </a>
                </c:forEach>
            </ul>
        </div>
    </div>
    <div class="show-img">
<C:forEach items="${showList}" var="show">
        <div><img src="${show.productImg}" height="300" width="300"/>
            <h4>${show.productName}</h4>
            <p>价格:<span>${show.productPrice}</span></p>
            <p>${show.productMaterial}</p>
        </div>
        </C:forEach>
    </div>
</div>
<jsp:include page="foot.jsp"></jsp:include>
</body>
</html>
